<h1>User#show</h1>
<p>Find me in app/views/user/show.rhtml</p>


<table width="760px">
    <tr>
        <th>Username</th>
        <th>Last Name</th>
        <th>First Name</th>
        <th>Role</th>
        <th>E-mail</th>
        <th>Address</th>
    </tr>
    <tr align="center">
        <td><%= link_to @user.username, :action => 'edit', :id => @user %></td>
        <td><%= @user.last_name %></td>
        <td><%= @user.first_name %></td>
        <td><%= @user.role.code %></td>
        <td><%= @user.email %></td>
        <td><%= @user.address.street %></td>
    </tr>    
</table>


<br/><br/>
<%= link_to 'Back to index', :action => 'index' %>